<template>
  <div class="goods-list">
    <div class="goods-list-left">
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
      <h1>1</h1>
    </div>
    <div class="goods-list-right">
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
      <h2>2</h2>
    </div>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from "vue-property-decorator";

@Component
export default class extends Vue {}
</script>

<style lang="scss" scoped>
.goods-list {
  height: calc(100vh - 43px);
  display: flex;

  .goods-list-left {
    width: 120px;
    height: 100%;
    background-color: pink;
    overflow: scroll;
  }
  .goods-list-right {
    flex: 1;
    height: 100%;
    background-color: burlywood;
    overflow: scroll;
  }
}
</style>